import request from "@/utils/request";

export function getPage(query) {
  return request({
    url: "/ad/ad-content/listByPage",
    method: "post",
    data: query,
  });
}


export function editObj(obj) {
  return request({
    url: "/ad/ad-content/editAdContent",
    method: "post",
    data: {
      ...obj,
      operator: 'platform',
      org:"单位"
    },
  });
}
// export function getObj(id) {
//   return request({
//     url: "/business/bookstore-info/queryById?id=" + id,
//     method: "get",
//   });
// }

// export function delObj(id) {
//   return request({
//     url: "/business/bookstore-info/delete/" + id,
//     method: "delete",
//   });
// }



